package parkshop.pmcourse.mapping;

import java.util.List;

import parkshop.pmcourse.domain.FavoriteSaller;
import parkshop.pmcourse.dto.PageBean;

public interface FavoriteSallerMapper {
	
	FavoriteSaller selectByPrimaryKey(Long id);
	int deleteByPrimaryKey(Long id);
	int insertSelective(FavoriteSaller favoriteSaller);
	List<FavoriteSaller> selectByCustomerId(Long id);
	List<FavoriteSaller> selectPageByCustomerId(PageBean pageBean);
	int selectCountByCustomerId(Long id);
	
	int deleteByCustomerAndShopId(PageBean pageBean);
}
